package com.stormragetech.teamwork.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TwUser implements Serializable {

    private static final long serialVersionUID = -3438896833582216563L;

    @Field("user_id")
    private String id;

    @Field("uname")
    private String username;

    @Field("pwd")
    private String password;

    @Field("salt")
    private String salt;

    @Field("rname")
    private String realname;

    @Field("create_date")
    private Date createDate;

    @Field("locked")
    private int locked;

}
